package com.iflytek.universitymanagement.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iflytek.universitymanagement.domain.Admin;
import com.iflytek.universitymanagement.domain.Competition;
import com.iflytek.universitymanagement.domain.CompetitionParticipationDTO;

import java.util.List;

public interface CompetitionService extends IService<Competition> {
    Competition getById(Long competitionId);  // 根据竞赛ID获取竞赛信息

    Page<CompetitionParticipationDTO> getAllStudentCompetitionInfoWithPagination(int pageNum, int pageSize);
}
